Towards Optimal Use of Multi-Precision Arithmetic: A Remark

نویسندگان

  • Vladik Kreinovich
  • Siegfried M. Rump
چکیده

If standard-precision computations do not lead to the desired accuracy, then it is reasonable to increase precision until we reach this accuracy. What is the optimal way of increasing precision? One possibility is to choose a constant q > 1, so that if the precision which requires the time t did not lead to a success, we select the next precision that requires time q · t. It was shown that among such strategies, the optimal (worst-case) overhead is attained when q = 2. In this paper, we show that this “time-doubling” strategy is optimal among all possible strategies, not only among the ones in which we always increase time by a constant q > 1. Formulation of the problem. In multi-precision arithmetic, it is possible to pick a precision and make all computations with this precision; see, e.g., [1, 2]. If we use validated computations, then after the corresponding computations, we learn the accuracy of the results. Usually, we want to compute the result of an algorithm with a given accuracy. We can start with a certain precision. If this precision leads to the desired results accuracy, we are done; if not, we repeat the computations with the increased precision, etc. The question is: what is the best approach to increasing precision? A natural approach to solving this problem. We usually have some idea of how the computation time t depends on the precision: e.g., for addition, the computation time grows as the number d of digits; for the standard multiplication, the time grows as d, etc. In view of this known dependence, we can easily transform the precision (number of digits) into time and vice versa. Therefore, the problem of selecting the precision d can be reformulated as the problem of selecting the corresponding computation time t. In other words, what we need to describe is as follows: if computations with time t are not sufficient, then we must select computations with larger precision which require a longer computation time t′(t) > t. The question is: given t, what t′(t) > t should we choose. Continuous approximation. In reality, we can only choose between integer number of digits 1, 2, 3, . . .. However, the need for high precision arises only when normal accuracy, with 32, 64, or 128 bits, is not sufficient. For the resulting huge number of bits, the difference between, say, 128 and 129 bit precision is not so large, so we can safely ignore the discreteness and assume that d (and hence t) can take all real values. ∗published in Reliable Computing, 12:365–369, 2006

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A remark on the means of the number of divisors

‎We obtain the asymptotic expansion of the sequence with general term $frac{A_n}{G_n}$‎, ‎where $A_n$ and $G_n$ are the arithmetic and geometric means of the numbers $d(1),d(2),dots,d(n)$‎, ‎with $d(n)$ denoting the number of positive divisors of $n$‎. ‎Also‎, ‎we obtain some explicit bounds concerning $G_n$ and $frac{A_n}{G_n}$.

متن کامل

VLSI Implementation of Neural Network

This paper proposes a novel approach for an optimal multi-objective optimization for VLSI implementation of Artificial Neural Network (ANN) which is area-power-speed efficient and has high degree of accuracy and dynamic range. A VLSI implementation of feed forward neural network in floating point arithmetic IEEE-754 single precision 32 bit format is presented that makes the use of digital weigh...

متن کامل

بررسی تأثیر عدم قطعیت بار بر اولویت اجرای برنامه‌های پاسخ‌گویی بار

In smart grids paradigm, versatile demand response programs have been devised to accommodate the load flexibilities in optimal scheduling of distribution networks and increasing the techno-economic efficiency of electrification process. The initial models for prioritizing the demand response programs are mainly valid for the case of constant and deterministic load profiles. These models are tac...

متن کامل

Dynamical ‎C‎ontrol of Computations Using the Family of Optimal Two-point Methods to Solve Nonlinear ‎Equations

One of the considerable discussions for solving the nonlinear equations is to find the optimal iteration, and to use a proper termination criterion which is able to obtain a high accuracy for the numerical solution. In this paper, for a certain class of the family of optimal two-point methods, we propose a new scheme based on the stochastic arithmetic to find the optimal number of iterations in...

متن کامل

Formalisation of multi-precision arithmetic for high-level synthesis of DSP architectures

c 1994 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. Formalisation of Multi-Precision Arithmetic for High-Level Synthesis of DSP Architectures MARC PAUWELS , GERT GOOSSENS, FRANCKY CATTHOOR, HUGO DE MAN [email protected] IMEC, Kapeldreef 75, B-3001 Leuven, Belgium Abstract. Multiple precision arithmetic is very useful to optimally trade o area and time when implementing re...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Reliable Computing

دوره 12  شماره 

صفحات  -

تاریخ انتشار 2006